﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="JWBSTAPP.TbBstLostmanAdd"
    CodeBehind="TbBstLostmanAdd.aspx.cs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>新建</title>
    <link href="../Styles/AddOrEditPage.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="../Styles/validationEngine.jquery.css" type="text/css"
        media="screen" charset="utf-8" />
    <script src="../Scripts/jQuery-1.9.0.js" type="text/javascript"></script>
    <script type="text/javascript" src="../Scripts/jquery.validationEngine-cn.js"></script>
    <script type="text/javascript" src="../Scripts/jquery.validationEngine.js"></script>
    <script type="text/javascript" src="../Scripts/CommonADEQ3.js"></script>
    <script src="../Scripts/jquery.form.js" type="text/javascript"></script>
    <script src="../TreeAndGridDemo/Time_js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script type="text/javascript">
        $().ready(function () {
            InitAddFilePage("TbBstLostmanForm", "../AjaxServer/Application/TbBstLostmanHandler.ashx");
        });
        function PreviewImg(imgFile) {
            var ext = imgFile.value.toLowerCase().substring(imgFile.value.length - 3, imgFile.value.length);
            if (ext == "jpg" || ext == "png" || ext == "gif" || ext == "bmp") {

            }
            else {
                alert("提示：不是有效图片格式！");
            }
        }
    </script>
</head>
<body>
    <div class="container">
        <form id="TbBstLostmanForm" action="" method="get" runat="server" enctype="multipart/form-data">
        <table class="mainTable">
            <tr>
                <td class="mainTable_TitleTd" colspan="4">
                    新增走失人员信息
                </td>
            </tr>
            <tr>
                <td align="left" colspan="4">
                    <strong>走失人信息 </strong>
                </td>
            </tr>
            <tr>
                <td class="mainTable_LeftTd">
                    <label for="texName">
                        姓名：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texName" name="texName" class="validate[required]" type="text" size="30"
                        maxlength="30" value="" />
                    <em>*</em>
                </td>
                <td class="mainTable_LeftTd" rowspan="3">
                    照片:
                </td>
                <td class="mainTable_RightTd" rowspan="3" style="text-align: center">
                    <img id="newPreview" width="90" height="120" runat="server" alt="" />
                </td>
            </tr>
            <tr>
                <td class="mainTable_LeftTd">
                    <label for="texCategory">
                        性别：</label>
                </td>
                <td class="mainTable_RightTd">
                    <select id="selGender" runat="server" name="selGender" style="height: 22px; width: 215px">
                    </select><em>*</em>
                </td>
            </tr>
            <tr>
                <td class="mainTable_LeftTd">
                    <label for="texNation">
                        身份证号：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texIdcard" name="texIdcard" class="validate[required]" type="text" size="30"
                        maxlength="18" value="" /><em>*</em>
                </td>
            </tr>
            <tr>
                <td class="mainTable_LeftTd">
                    &nbsp;
                    <label for="texGender">
                        出生日期：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texBirth" name="texBirth" type="text" size="30" runat="server" readonly="readonly"
                        maxlength="12" onclick="WdatePicker()" />
                </td>
                <td class="mainTable_LeftTd">
                    &nbsp;
                </td>
                <td class="mainTable_RightTd">
                    <input type="file" name="imagefile" />
                </td>
            </tr>
            <tr>
                <td class="mainTable_LeftTd">
                    <label for="texQuestions">
                        走失经过描述：</label>
                </td>
                <td class="mainTable_RightTd" colspan="3">
                    <asp:TextBox ID="texNote" runat="server" Width="93%" TextMode="MultiLine" MaxLength="500"
                        Height="30px" onKeyDown="checkMaxInput(this,500)" onKeyUp="checkMaxInput(this,500)">
                    </asp:TextBox><em>*</em>
                </td>
            </tr>
            <tr>
                <td align="left" colspan="4">
                    <strong>找寻人信息 </strong>
                </td>
            </tr>
            <tr>
                <td class="mainTable_LeftTd">
                    <label for="texIssuename">
                        姓名：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texIssuename" name="texIssuename" class="validate[required]" type="text"
                        maxlength="20" size="30" value="" /><em>*</em>
                </td>
                <td class="mainTable_LeftTd">
                    <label for="texIssuenphone">
                        手机：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texIssuenphone" name="texIssuenphone" class="validate[required]" type="text"
                        maxlength="11" size="30" value="" /><em>*</em>
                </td>
            </tr>
            <tr>
                <td class="mainTable_LeftTd">
                    <label for="texIssueidcard">
                        身份证号：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texIssueidcard" name="texIssueidcard" type="text" maxlength="18" size="30"
                        value="" />
                </td>
                <td class="mainTable_LeftTd">
                    <label for="texIssueidcard">
                    </label>
                </td>
                <td class="mainTable_RightTd">
                </td>
            </tr>
            <tr>
                <td class="mainTable_LeftTd">
                    <label for="texIssueaddress">
                        详细地址：</label>
                </td>
                <td class="mainTable_RightTd" colspan="3">
                    <input id="texIssueaddress" name="texIssueaddress" type="text" size="93" maxlength="100"
                        value="" />
                </td>
            </tr>
            <tr>
                <td class="mainTable_ButtonTd" colspan="4">
                    <input class="button" type="submit" value="提交" />&nbsp;&nbsp;&nbsp;
                    <input class="button" type="button" value="取消" onclick="window.parent.tb_remove();" />
                </td>
            </tr>
        </table>
        </form>
        <%--<form id="TbBstLostmanForm" action="" method="get">
        <table class="mainTable">
            <tr>
                <td class="mainTable_TitleTd" colspan="4">
                    新建
                </td>
            </tr>
            <tr>
                <td class="mainTable_LeftTd">
                    <label for="texName">
                        走失人姓名：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texName" name="texName" class="validate[required]" type="text" size="30"
                        value="" />
                </td>
                <td class="mainTable_LeftTd">
                    <label for="texGender">
                        性别：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texGender" name="texGender" class="validate[required]" type="text" size="30"
                        value="" />
                </td>
            </tr>
            <tr>
                <td class="mainTable_LeftTd">
                    <label for="texBirth">
                        出生日期：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texBirth" name="texBirth" class="validate[required]" type="text" size="30"
                        value="" />
                </td>
                <td class="mainTable_LeftTd">
                    <label for="texIdcard">
                        身份证：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texIdcard" name="texIdcard" class="validate[required]" type="text" size="30"
                        value="" />
                </td>
            </tr>
            <tr>
                <td class="mainTable_LeftTd">
                    <label for="texNote">
                        走失经过描述：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texNote" name="texNote" class="validate[required]" type="text" size="30"
                        value="" />
                </td>
                <td class="mainTable_LeftTd">
                    <label for="texIssuename">
                        发布人姓名：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texIssuename" name="texIssuename" class="validate[required]" type="text"
                        size="30" value="" />
                </td>
            </tr>
            <tr>
                <td class="mainTable_LeftTd">
                    <label for="texIssuenphone">
                        发布人手机：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texIssuenphone" name="texIssuenphone" class="validate[required]" type="text"
                        size="30" value="" />
                </td>
                <td class="mainTable_LeftTd">
                    <label for="texIssueidcard">
                        发布人身份证号：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texIssueidcard" name="texIssueidcard" class="validate[required]" type="text"
                        size="30" value="" />
                </td>
            </tr>
            <tr>
                <td class="mainTable_LeftTd">
                    <label for="texIssueaddress">
                        发布人地址：</label>
                </td>
                <td class="mainTable_RightTd">
                    <input id="texIssueaddress" name="texIssueaddress" class="validate[required]" type="text"
                        size="30" value="" />
                </td>
                <tr>
                    <td class="mainTable_LeftTd">
                        <label for="texModifydate">
                            修改时间：</label>
                    </td>
                    <td class="mainTable_RightTd">
                        <input id="texModifydate" name="texModifydate" class="validate[required]" type="text"
                            size="30" value="" />
                    </td>
                    <td class="mainTable_LeftTd">
                        <label for="texDeltag">
                            删除标志：</label>
                    </td>
                    <td class="mainTable_RightTd">
                        <input id="texDeltag" name="texDeltag" class="validate[required]" type="text" size="30"
                            value="" />
                    </td>
                </tr>
                <tr>
                    <td class="mainTable_LeftTd">
                        <label for="texDeltime">
                            删除时间：</label>
                    </td>
                    <td class="mainTable_RightTd">
                        <input id="texDeltime" name="texDeltime" class="validate[required]" type="text" size="30"
                            value="" />
                    </td>
                    <td class="mainTable_LeftTd">
                        <label for="texPic">
                            照片：</label>
                    </td>
                    <td class="mainTable_RightTd">
                        <input id="texPic" name="texPic" class="validate[required]" type="text" size="30"
                            value="" />
                    </td>
                </tr>
                <tr>
                    <td class="mainTable_ButtonTd" colspan="4">
                        <input class="button" type="submit" value="提交" />
                        <input class="button" type="button" value="取消" onclick="window.parent.tb_remove();" />
                    </td>
                </tr>
        </table>
        </form>--%>
    </div>
</body>
</html>
